Skip to content

Ona custom changes #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open

Ona custom changes #2

wants to merge 73 commits into from

Conversation

FrankApiyo
Copy link

No description provided.

@FrankApiyo FrankApiyo force-pushed the ona-custom-changes branch 2 times, most recently from 2187ba4 to b740c9d Compare December 14, 2022 06:31
@FrankApiyo FrankApiyo force-pushed the ona-custom-changes branch 3 times, most recently from 2bb13a6 to 0325aff Compare December 14, 2022 06:42
index.js Outdated
}
})
.catch((error) => {
console.log(error)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

index.js Outdated
} else if ("/health-check" == req.url) {
done()
} else {
done("Authentication Failure");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add a status code (401)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find how to do this from fastify documentation

index.js Outdated
.then(fastify => // LAUNCH SERVER
fastify.listen({ port: process.env.SERVER_PORT || 3000, host: process.env.SERVER_HOST || '0.0.0.0' }, (err, address) => {
if (err) {
console.log(err)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this too

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@FrankApiyo FrankApiyo force-pushed the ona-custom-changes branch from cef99bc to 8bd36bb Compare May 11, 2023 08:26
ciremusyoka and others added 30 commits August 19, 2024 13:02
Remove express and upgrade node version
Update find-my-way 8.0.0 -> 8.2.2
Change CORS_ORIGIN -> CORS_ORIGINS
feat: Update axios version to 1.8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants